
$finish-color: #5237d5;
$wait-color: #8D9199;
$wait-line-color: #DDDDDD;
.yby-steps {
  display: flex;
  width: 100%;
  .yby-steps-item {
    flex: 1 0 100px;
    display: flex;
    &.has-change {
      .yby-steps-item-content{
        cursor: pointer;
      }
    }
    &.disabled{
      .yby-steps-item-content{
        cursor: not-allowed;
      }
    }
    &::after {
      content: ' ';
      display: inline-block;
      height: 1px;
      flex: 1 0 auto;
      border-bottom: 1px solid $wait-line-color;
      margin: 11px 8px 0 8px;
    }
    &:last-child{
      flex: none;
      &::after{
        display: none;
      }
    }
    .yby-steps-item-icon{
      display: inline-block;
      width: 16px;
      height: 16px;
      font-size: 12px;
      line-height: 14px;
      text-align: center;
      border-radius: 8px;
      border: 1px solid $wait-color;
      margin-right: 8px;
    }
    .yby-steps-item-title{
      display: inline-block;
      font-size: 14px;
      line-height: 16px;
      color: $wait-color;
      &::after {
        content: none;
      }
    }
  }
  .finish {
    .yby-steps-item-icon{
      border-color: $finish-color;
      color: $finish-color;
    }
    .yby-steps-item-title{
      color: $finish-color;
    }
    &::after {
      border-color: $finish-color;
    }
  }
  .current {
    cursor: auto;
    .yby-steps-item-icon{
      border-color: $finish-color;
      color: #ffffff;
      background-color: $finish-color;
    }
    .yby-steps-item-title{
      color: $finish-color;
    }
  }
  .wait {
    .yby-steps-item-icon{
      border-color: $wait-color;
      color: $wait-color;
    }
    .yby-steps-item-title{
      color: $wait-color;
    }
  }
}